package cn.iocoder.yudao.module.promotion.controller.admin.prizedraw.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户抽奖次数流水分页 Request VO")
@Data
public class PrizeDrawNumberPageReqVO extends PageParam {

    @Schema(description = "用户编号", example = "22053")
    private Long userId;

    @Schema(description = "获得抽奖次数方式（1：积分兑换，2：邀新，3：连续签到，4：商城下单，5：预约试驾核销 6:抽奖）", example = "1")
    private Boolean settingType;

    @Schema(description = "业务ID", example = "10391")
    private String businessId;

    @Schema(description = "使用状态（1：获得，2：消耗）", example = "1")
    private Boolean useType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}